package com.itheima.d3_abstract;

public class Dog extends Anmail{
    public Dog(String name) {
        super(name);
    }
    public Dog(){}


    @Override
    public void cry() {
        System.out.println(getName() + "呵呵呵");
    }
}
